package com.boboPlanet.user.entity.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: TODO
 * @Author: mis_wu
 * @Date: 2023/2/22
 **/
@Data
@TableName("planet_article_detail_info")
public class ArticleDetailPO implements Serializable {

    /**
     * 明细id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long articleDetailId;

    /**
     * 文章id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long articleId;

    /**
     * 内容
     */
    private String articleContent;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date planetUpdateTime;

    private String planetUpdateUser;

    private Integer version;
}
